﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Auction_Server.Business
{
    public class targetModel
    {
        #region 字段

        // 标的编号
        string target_NO;
        // 标的名称
        string target_NAME;
        // 拍卖类别
        string bid_TYPE;
        // 商品编号
        string product_NO;
        // 商品名称
        string product_NAME;
        // 商品图片
        string product_PIC;
        //商品图片ID
        string product_ID;
        // 商品拍卖底价
        string product_PRICE;
        // 计价单位
        string product_MEASUREMENT;
        // 商品拍卖数量
        string product_AUCTION_METE;
        // 商品类别
        string product_Type;
        // 商品等级
        string product_Lv;
        // 拍卖会编号
        string auction_NO;
        // 拍卖师名称
        string auctioneer_NAME;
        // 竞拍方式
        string auction_TYPE;
        // 递增金额
        float increment_MONEY;
        // 拍卖结果
        string bid_RESULT;
        // 中标用户编号
        string biduser;
        // 中标价
        float bidprice;
        // 标的当前状态
        string status;
        //延时拍卖时间(分钟)
        int fix_TIME;
        // 限时拍卖时间
        int limit_TIME;

        //拍卖类型(显示用)
        string disauction_type;
        //拍卖时间(显示用)
        string dispTime;
        //拍卖时间(计算用)
        int auctionTime;
        //按钮属性(标题)
        string btnCaption;
        //按钮属性(只读)
        Boolean btnEnable;
        //标的行
        DataRow drTarget;
        //打印报价书按钮
        Boolean printbtnEnable;
        //打印报价书按钮标题
        string printbtnCaption;
        #endregion

        /// <summary>
        /// 标的编号
        /// </summary>
        public string Target_NO
        {
            get { return target_NO; }
            set { target_NO = value; }
        }

        /// <summary>
        /// 标的名称
        /// </summary>
        public string Target_NAME
        {
            get { return target_NAME; }
            set { target_NAME = value; }
        }

        /// <summary>
        /// 产品ID
        /// </summary>
        public string Product_ID
        {
            set { product_ID = value; }
            get { return product_ID; }
        }

        /// <summary>
        /// 拍卖类型
        /// </summary>
        public string Bid_TYPE
        {
            get { return bid_TYPE; }
            set { bid_TYPE = value; }
        }

        /// <summary>
        /// 商品编号
        /// </summary>
        public string Product_NO
        {
            get { return product_NO; }
            set { product_NO = value; }
        }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string Product_NAME
        {
            get { return product_NAME; }
            set { product_NAME = value; }
        }

        /// <summary>
        /// 商品等级
        /// </summary>
        public string Product_Lv
        {
            get { return product_Lv; }
            set { product_Lv = value; }
        }

        /// <summary>
        /// 商品图片
        /// </summary>
        public string Product_PIC
        {
            get { return product_PIC; }
            set { product_PIC = value; }
        }

        /// <summary>
        /// 商品底价
        /// </summary>
        public string Product_PRICE
        {
            get { return product_PRICE; }
            set { product_PRICE = value; }
        }

        /// <summary>
        /// 计价单位
        /// </summary>
        public string Product_MEASUREMENT
        {
            get { return product_MEASUREMENT; }
            set { product_MEASUREMENT = value; }
        }

        /// <summary>
        /// 商品拍卖数量
        /// </summary>
        public string Product_AUCTION_METE
        {
            get { return product_AUCTION_METE; }
            set { product_AUCTION_METE = value; }
        }

        /// <summary>
        /// 商品类型
        /// </summary>
        public string Product_Type
        {
            get { return product_Type; }
            set { product_Type = value; }
        }

        /// <summary>
        /// 拍卖会编号
        /// </summary>
        public string Auction_NO
        {
            get { return auction_NO; }
            set { auction_NO = value; }
        }

        /// <summary>
        /// 拍卖师名
        /// </summary>
        public string Auctioneer_NAME
        {
            get { return auctioneer_NAME; }
            set { auctioneer_NAME = value; }
        }

        /// <summary>
        /// 拍卖会类型
        /// </summary>
        public string Auction_TYPE
        {
            get { return auction_TYPE; }
            set { auction_TYPE = value; }
        }

        /// <summary>
        /// 递增金额
        /// </summary>
        public float Increment_MONEY
        {
            get { return increment_MONEY; }
            set { increment_MONEY = value; }
        }

        /// <summary>
        /// 拍卖结果
        /// </summary>
        public string Bid_RESULT
        {
            get { return bid_RESULT; }
            set { bid_RESULT = value; }
        }

        /// <summary>
        /// 中标用户编号
        /// </summary>
        public string Biduser
        {
            get { return biduser; }
            set { biduser = value; }
        }

        /// <summary>
        /// 中标价
        /// </summary>
        public float Bidprice
        {
            get { return bidprice; }
            set { bidprice = value; }
        }

        /// <summary>
        /// 标的当前状态
        /// </summary>
        public string Status
        {
            get { return status; }
            set { status = value; }
        }

        /// <summary>
        /// 延时拍卖时间(分钟)
        /// </summary>
        public int Fix_TIME
        {
            get { return fix_TIME; }
            set { fix_TIME = value; }
        }

        /// <summary>
        /// 限时拍卖时间(秒)
        /// </summary>
        public int Limit_TIME
        {
            get { return limit_TIME; }
            set { limit_TIME = value; }
        }

        /// <summary>
        /// 拍卖时间(显示用)
        /// </summary>
        public String DispTime
        {
            get { return dispTime; }
            set { dispTime = value; }
        }

        /// <summary>
        /// 拍卖时间(计算用)
        /// </summary>
        public int AuctionTime
        {
            get { return auctionTime; }
            set { auctionTime = value; }
        }

        /// <summary>
        /// 按钮属性(标题)
        /// </summary>
        public string BtnCaption
        {
            get { return btnCaption; }
            set { btnCaption = value; }
        }

        /// <summary>
        /// 按钮属性(只读)
        /// </summary>
        public Boolean BtnEnable
        {
            get { return btnEnable; }
            set { btnEnable = value; }
        }

        /// <summary>
        /// 标的行
        /// </summary>
        public DataRow DrTarget
        {
            get { return drTarget; }
            set { drTarget = value; }
        }

        /// <summary>
        /// 报价书确认按钮状态
        /// </summary>
        public Boolean PrintbtnEnable
        {
            get { return printbtnEnable; }
            set { printbtnEnable = value; }
        }
        
        /// <summary>
        /// 打印报价确认书按钮标题
        /// </summary>
        public string PrintbtnCaption
        {
            get { return printbtnCaption; }
            set { printbtnCaption = value; }
        }

        /// <summary>
        /// 拍卖类型(显示用)
        /// </summary>
        public string Disauction_type
        {
            get { return disauction_type; }
            set { disauction_type = value; }
        }
    }
}
